DevForce Help Reference
ConstructFromPrototype<AnonymousType>(AnonymousType,Object[]) Method


Construct a single instance of an anonymous type given a prototype instances and a specified set of values
Syntax
'Declaration
 
Public Overloads Shared Function ConstructFromPrototype(Of AnonymousType)( _
   ByVal protoType As AnonymousType, _
   ByVal ParamArray values() As Object _
) As AnonymousType
'Usage
 
Dim protoType As AnonymousType
Dim values() As Object
Dim value As AnonymousType
 
value = AnonymousFns.ConstructFromPrototype(Of AnonymousType)(protoType, values)
public static AnonymousType ConstructFromPrototype<AnonymousType>( 
   AnonymousType protoType,
   params object[] values
)

Parameters

protoType
values

Type Parameters

AnonymousType
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnonymousFns Class
AnonymousFns Members
Overload List

Send Feedback